<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'Addstudent.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <form action="DoNewStudent.jsp" method="post">
   <table border="0" align="center">
    <tr>
    <td>姓名</td>
    <td><input type="text" name="name"></td>
    </tr>
 </tr>
    <tr>
    <td>
    <input type="radio" checked="checked" name="sex"  value="男"/>男
    </td>
    <td><input type="radio"  name="sex" value="女"/>女
    </td>
    </tr>
    <td>电话号码</td>
    <td><input type="text" name="telephone"></td>
    </tr>
    <tr>
    <td>qq</td>
    <td><input type="text" name="qq"></td>
    </tr>
    <td>
  <select name="grade">
						<option value="">[请选择年级]</option>
						<option value="1" name="grade">1</option>
						<option value="2" name="grade">2</option>
						<option value="3" name="grade">3</option>
						<option value="5" name="grade">5</option>
						<option value="6" name="grade">6</option>
				</select></td>
    <tr>
    <td>登陆密码</td>
    <td><input type="text" name="pass"></td>
    </tr>
   
    <tr><td><input type="submit" name="submit" value="提交">
    </td><td><input type="reset" name="reset" value="取消"></td></tr>
    </table>
   
   
   </form>
  </body>
</html>
